Ad Widget

Collapse

unexpected token `IKSEMEL,iksemel,'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zaiocrit
    Junior Member
    • May 2016
    • 15

    #1

    unexpected token `IKSEMEL,iksemel,'

    Hi
    I'm trying to install Zabbix 3.0.3 in Ubuntu, but I get the following error when launching the ./configure
    error:
    Code:
    unexpected token `IKSEMEL, iksemel, '
    ./configure: line 9001: syntax error near unexpected token `IKSEMEL,iksemel,'
    ./configure: line 9001: `               PKG_CHECK_MODULES(IKSEMEL,iksemel,'
    and as a consequence, obviously :
    Code:
    ... # make install
    make: *** No rule to make target 'install'.  Stop.
    this is the code in "config"

    Code:
    8999  if test "x$_libiksemel_with" != x"no"; then
    9000        if test "$_libiksemel_with" = "yes"; then
    9001		PKG_CHECK_MODULES(IKSEMEL,iksemel,
    9002
    9003			 JABBER_INCDIR="$IKSEMEL_CPPFLAGS"
    9004			 JABBER_LIBDIR="$IKSEMEL_LDFLAGS"
    9005			 JABBER_LIBS="-liksemel"
    9006			,
    9007			 found_iksemel="no"
    9008			 found_jabber="no"
    9009			)
    9010        else

    Can you help me ?
    Andrea
  • DmitryL
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2016
    • 278

    #2
    Hello zaiocrit!

    Please check if you have pkgconfig package installed.

    Comment

    • zaiocrit
      Junior Member
      • May 2016
      • 15

      #3
      hello Dmitryb !

      Originally posted by Dmitryb
      Hello zaiocrit!

      Please check if you have pkgconfig package installed.
      yes :

      pkg-config 0.29.1-0ubuntu1 amd64



      what "token" can refer? can there be an error in the config file?

      Comment

      • DmitryL
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2016
        • 278

        #4
        Can you tell full ./configure string that you are using?
        Config.log also could help.

        Comment

        • zaiocrit
          Junior Member
          • May 2016
          • 15

          #5
          Originally posted by Dmitryb
          Can you tell full ./configure string that you are using?
          Config.log also could help.
          configl.log :

          config.log.zip

          Comment

          • DmitryL
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • May 2016
            • 278

            #6
            Made a test on Ubuntu-15.10 with zabbix-3.0.3 source

            groupadd zabbix
            useradd -g zabbix zabbix
            ./configure --enable-agent

            Works fine....

            pkg-config 0.28
            gcc 5.2.1-22


            Did you tried install agent from packages?

            Comment

            • zaiocrit
              Junior Member
              • May 2016
              • 15

              #7
              I installed ubuntu 14 and I have not encountered the same error. I can now configure ZABBIX !

              But I'd like to understand why the 16 does not go

              Thanks !

              Comment

              • glebs.ivanovskis
                Senior Member
                • Jul 2015
                • 237

                #8
                If you are building from svn repository you need to re-run ./bootstrap.sh before you re-run ./configure after you installed pkg-config.

                Comment

                Working...